﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class TestClick : MonoBehaviour {

    public void Click()
    {
        Debug.Log("Button Clicked. TestClick.");

        GameObject testui = (GameObject)Resources.Load("Prefabs/UI/UITest");
        GameObject mUICanvas = GameObject.Find("Canvas");
        testui = Instantiate(testui);
        testui.transform.parent = mUICanvas.transform;
    }
}
